/* 
 * File:   Connection.h
 * Author: André
 *
 * Created on November 30, 2012, 11:20 PM
 */

#ifndef CONNECTION_H
#define	CONNECTION_H

#include "Neuron.h"

class Connection {
public:
    Connection();
    
    void setWeight(double w);
    
    double getWeight();
    Neuron* getFromNeuron();
    Neuron* getToNeuron();
    
    void connect(Neuron* from, Neuron* to);
    
private:
    Neuron* fromNeuron;
    Neuron* toNeuron;
    double weight;

};

#endif	/* CONNECTION_H */

